<?php
namespace Album\Controller;

use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;
use Album\Form\ CategoryForm;
class CategoryController extends AbstractActionController
{
	
    public function indexAction()
    {
    	
    }
    
    function addAction()
    {
    	
    	$form = CategoryForm::createForm();
    	$form->get('submit')->setValue('add');
    	
		$request = $this->getRequest();
		if ($request->isPost()){
			
		}
		
		return array('form'=>$form);
    }
    
}

